package com.hhkj.study.admin.order.model.res;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.hhkj.study.admin.order.model.podo.OrderItemPo;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
*
* @author SERVER
* @since 2024-09-18
*/
@EqualsAndHashCode(callSuper = true)
@Data
public class OrderItemRes extends OrderItemPo {

    @JsonIgnore
    @Override
    public String getOrderStatus() {
        return super.getOrderStatus();
    }

    @JsonIgnore
    @Override
    public Integer getOrderPayPrice() {
        return super.getOrderPayPrice();
    }

    @JsonIgnore
    @Override
    public Integer getOrderTotalPrice() {
        return super.getOrderTotalPrice();
    }

    @JsonIgnore
    @Override
    public Date getOrderCreateTime() {
        return super.getOrderCreateTime();
    }
}